package com.alex.common.tools;

import javax.servlet.http.HttpServletRequest;

import com.alex.common.filter.EnvironmentFilter;

public abstract class ValidateUtils {

	@Deprecated
	public static boolean validateRequest(HttpServletRequest request) {
		String host = "";
		for (String domain : EnvironmentFilter.domainNames) {
			if (host.indexOf(domain) != -1) {
				return true;
			}
		}
		return false;
	}
}
